package logger

type LogType int

const (
	DEBUG = iota
	INFO
	WARN
	ERROR
)

func (lt LogType) String() string {
	switch lt {
	case DEBUG:
		return "[DEBUG]"
	case INFO:
		return "[INFO]"
	case WARN:
		return "[WARN]"
	case ERROR:
		return "[ERROR]"
	default:
		return "[UNUSED]"
	}
}

type LOG struct {
	Type  LogType
	Value interface{}
}
